//
//  OADTitleHeader.h
//  OASDK_Works
//
//  Created by ChenJie on 5/21/20.
//  Copyright © 2020 Mist. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "OADTitleHeaderViewModel.h"

@interface OADTitleHeader : UIView

@property (nonatomic, strong) OADTitleHeaderViewModel *viewModel;

/* dynamic viewHeight */
+ (CGFloat)heightWithViewWidth:(CGFloat)viewWidth
                     viewModel:(OADTitleHeaderViewModel *)viewModel;

/* static viewHeight */
+ (void)layoutWithViewSize:(CGSize)viewSize
                 viewModel:(OADTitleHeaderViewModel *)viewModel;

@end
